﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using dbcntn;

namespace Campus.Main.Basic.Settings
{
    public  partial class DefaultForm : Form
    {
        public virtual void Bind(Object sender, FormClosedEventArgs e)
        {
            Initialize();
            data.Clear();
        }

        public string id;
        protected List<string> data = new List<string>();
        public ConnectionToDb aToDb;
        public DefaultForm()
        {
            InitializeComponent();
            MaximizeBox = false;
            MinimizeBox = false;
        }
        public virtual void Initialize()
        {
            aToDb=new ConnectionToDb(Helper.ConnectionString);
        }
    }

}
